export default defineAppConfig({
  pages: [
    "pages/course/index",
    "pages/my/index",
    "pages/exchangeRecord/index",
    "pages/course-detail/index",
    "pages/noteDetail/index",
    "pages/profile/index",
    "pages/distribution/index",
    "pages/distribution-detail/index",
    "pages/member/index",
    "pages/agreement/index",
    "pages/privacy/index",
    "pages/courseRedemption/index",
    "pages/login/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
  requiredBackgroundModes: ["audio"],
  tabBar: {
    list: [
      {
        pagePath: "pages/course/index",
        iconPath: "assets/tabbar/home.png",
        selectedIconPath: "assets/tabbar/home-active.png",
        text: "课程",
      },
      {
        pagePath: "pages/my/index",
        iconPath: "assets/tabbar/my.png",
        selectedIconPath: "assets/tabbar/my-active.png",
        text: "我的",
      },
    ],
    color: "#B1B1B9",
    selectedColor: "#673ab7",
    backgroundColor: "#fff",
    borderStyle: "white",
  },
  plugins: {
    contactPlugin: {
      version: "1.4.3",
      provider: "wx104a1a20c3f81ec2",
    },
  },
});
